-- GENERATED SPELL FOR [Netherwalker] --


function spell0_14389(pUnit, Event) --@Shadow Bolt Volley,n/a--
pUnit:FullCastSpellOnTarget(22878,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14389', 561, 1)
end

function Sorts_14389(pUnit, Event)
local choix_sorts_14389 = math.random(0, 0)
if choix_sorts_14389 == 0 then
pUnit:RegisterEvent('spell0_14389', 1, 1)
end
end

function mob14389_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14389', math.random(1500, 3000), 1)
end

function mob14389_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14389_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14389_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14389, 1, 'mob14389_Action')
RegisterUnitEvent(14389, 2, 'mob14389_Leave')
RegisterUnitEvent(14389, 3, 'mob14389_Kill')
RegisterUnitEvent(14389, 4, 'mob14389_Die')
